﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace HotFix_Project.HotFixBugs
{
    class Fixed_LCL_HelloWorld__Update_Void__Delegate
    {
        public static void NewFunction(object selfObj)
        {
            var type = selfObj.GetType();
            Debug.Log("【我】修复一个bug selfObj:" + type.ToString());


            var go = GameObject.Find("Main Camera");
            var mb = go.GetComponent<LCL.HelloWorld>();
            Debug.Log("LCL.HelloWorld:   " + mb.ToString());
            mb.ValueTest = "我在HotFix里面设置的.";

        }
    }
}
